#ifndef DATAMODEL_H
#define DATAMODEL_H

#include <QSqlTableModel>
#include <QSqlDatabase>

class DataModel : public QSqlTableModel
{
    Q_OBJECT
    QSqlDatabase m_database;
public:
//    explicit DataModel(QObject *parent = 0);
    explicit DataModel(QObject *parent, QSqlDatabase database);
    
signals:
    
public slots:
    
};

#endif // DATAMODEL_H
